package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "user_photos_tbl")
@Alias(value = "userPhotosTbl")
public class UserPhotosTbl extends PageDto {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;
    /**
     * 用户相册
     */
    @Column(name = "photo")
    private String photo;
    /**
     * 是否是第一张人脸 1是
     */
    @Column(name = "first_img")
    private Integer firstImg;
    /**
     * 上传排序
     */
    @Column(name = "sort")
    private Integer sort;

    /**
     * 是否审核通过  0待审核 1通过  2不通过
     */
    @Column(name = "checked")
    private Integer checked;


    @Column(name = "updated_time")
    private Long updatedTime;

    @Column(name = "deleted")
    private Integer deleted;

    @Column(name = "deleted_time")
    private Long deletedTime;
    /**
     * 用户账号
     */
    @Transient
    private String account;
    /**
     * 用户邮箱
     */
    @Transient
    private String email;

    /**
     * 用户手机号码
     */
    @Transient
    private String mobilephone;


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public Integer getChecked() {
        return checked;
    }

    public void setChecked(Integer checked) {
        this.checked = checked;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getFirstImg() {
        return firstImg;
    }

    public void setFirstImg(Integer firstImg) {
        this.firstImg = firstImg;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

}
